﻿// JScript 文件
var objCheck;

function Show1(obj)
{
    objCheck = obj;
    window.scroll = "no";
    document.body.style.overflow='hidden';
    var objWait = document.getElementById("_coverWait");
    objWait.style.height = document.body.clientHeight + document.body.offsetHeight;
    objWait.style.display = "block";
    
    var objInfo = document.getElementById("divChangeFieldInfo");
    objInfo.style.marginTop = document.body.scrollTop + 20;
    objInfo.style.left = ((document.body.clientWidth - parseInt(objInfo.style.width)) / 2);
    objInfo.style.display = "block";
    
    //管理图片页面
    var objImage = document.getElementById("ifrImage");
    if(objImage.src == "")
    {
        objImage.src = "../Manage/Modle/UploadFile/ListFiles.aspx";
    }
    try
    {
        objImage.contentWindow.InitCheckedFile();
    }
    catch(ex)
    {}
}

function CheckedFile(strInfo)
{
    document.getElementById("_coverWait").style.display = "none";
    document.getElementById("divChangeFieldInfo").style.display = "none";
    objCheck.value = strInfo;
    window.scroll = "yes";
    document.body.style.overflow='auto';
}

function DivShadeHide()
{
    document.getElementById("_coverWait").style.display = "none";
    document.getElementById("divChangeFieldInfo").style.display = "none";
    window.scroll = "yes";
    document.body.style.overflow='auto';
}